function JSONToNeo4jNode(neo4jStructData, jsonItem) {
    nodesToStore = neo4jStructData.results[0].data[0].graph.nodes;
    var node = {
        id: nodesToStore.length,
        labels: [nodesToStore.length],
        properties: {}
    };
    for (var name in jsonItem) {
        node.properties[name] = jsonItem[name];
    }
    nodesToStore.push(node);
}
function createNeo4jStruct() {
    return {
        results: [
            {
                columns: [],
                data: [{
                    graph: {
                        nodes: [],
                        relationships: []
                    }
                }]
            }
        ]
    };
}